package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.TPurchaseRecord;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface TPurchaseRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TPurchaseRecord record);

    int insertSelective(TPurchaseRecord record);

    TPurchaseRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TPurchaseRecord record);

    int updateByPrimaryKey(TPurchaseRecord record);
    
    public List<Map<String, Object>> searchByPage(Map<String,Object> searchParams);
}